home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C10 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.8 KB  |  85 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C10
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     Statfun \
  22.     Funobj \
  23.     StaticDestructors \
  24.     Statinit \
  25.     StaticArray \
  26.     Local \
  27.     StaticMemberFunctions \
  28.     Selfmem \
  29.     Depend2 
  30.  
  31. test: all 
  32.     Statfun  
  33.     Funobj  
  34.     StaticDestructors  
  35.     Statinit  
  36.     StaticArray  
  37.     Local  
  38.     StaticMemberFunctions  
  39.     Selfmem  
  40.     Depend2  
  41.  
  42. bugs: 
  43.     @echo No compiler bugs in this directory!
  44.  
  45. Statfun: Statfun.o 
  46.     $(CPP) $(OFLAG)Statfun Statfun.o 
  47.  
  48. Funobj: Funobj.o 
  49.     $(CPP) $(OFLAG)Funobj Funobj.o 
  50.  
  51. StaticDestructors: StaticDestructors.o 
  52.     $(CPP) $(OFLAG)StaticDestructors StaticDestructors.o 
  53.  
  54. Statinit: Statinit.o 
  55.     $(CPP) $(OFLAG)Statinit Statinit.o 
  56.  
  57. StaticArray: StaticArray.o 
  58.     $(CPP) $(OFLAG)StaticArray StaticArray.o 
  59.  
  60. Local: Local.o 
  61.     $(CPP) $(OFLAG)Local Local.o 
  62.  
  63. StaticMemberFunctions: StaticMemberFunctions.o 
  64.     $(CPP) $(OFLAG)StaticMemberFunctions StaticMemberFunctions.o 
  65.  
  66. Selfmem: Selfmem.o 
  67.     $(CPP) $(OFLAG)Selfmem Selfmem.o 
  68.  
  69. Depend2: Depend2.o Depdefs.o Depend.o 
  70.     $(CPP) $(OFLAG)Depend2 Depend2.o Depdefs.o Depend.o 
  71.  
  72.  
  73. Statfun.o: Statfun.cpp ../require.h 
  74. Funobj.o: Funobj.cpp 
  75. StaticDestructors.o: StaticDestructors.cpp 
  76. Statinit.o: Statinit.cpp 
  77. StaticArray.o: StaticArray.cpp 
  78. Local.o: Local.cpp 
  79. StaticMemberFunctions.o: StaticMemberFunctions.cpp 
  80. Selfmem.o: Selfmem.cpp 
  81. Depdefs.o: Depdefs.cpp Depend.h 
  82. Depend.o: Depend.cpp Depend.h 
  83. Depend2.o: Depend2.cpp Depend.h 
  84.  
  85.